home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 11 / develop 11 code / The NetWork Project / Examples (Sources) / NetSim / Makefile < prev    next >
Encoding:
Makefile  |  1992-07-15  |  4.6 KB  |  164 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        Makefile
  3. #
  4. #    Contains:    Makefile for NetSim
  5. #
  6. #    Written by:    G. Sawitzki, StatLab Heidelberg
  7. #
  8. #    Copyright:    © 1986-1991 by G. Sawitzki, Heidelberg, all rights reserved.
  9. #
  10. #    Change History (most recent first):
  11. #
  12. #         <4>     8/19/91    gs        Add balloon help
  13. #
  14. #    To Do:
  15. #
  16.  
  17.  
  18. # Start of NetWork Setup
  19. #
  20. # This is a set of definitions used in all make files of the NetWork project.
  21. # It uses the the recommended file and folder names. If you have chosen an 
  22. # installation other than the recommended one, you need to adapt this header 
  23. # in all NetWork make files.
  24. #
  25. # We follow Apple's convention to use quotes on usage, not on definition.
  26. #
  27. NetWork_Tools             = {SystemFolder}NetWork Tools:
  28. NetWork_Idle_Tools         = {SystemFolder}NetWork Idle Tools:
  29. NetWork_Startup_Tools     = {SystemFolder}NetWork Startup Tools:
  30. NetWork_Logs             = {SystemFolder}NetWork Logs:
  31. NetWork_Examples         = {Boot}Projects:NetWork:NetWork Examples:
  32. #
  33. NetWork_Libraries         = {Libraries}
  34. NetWork_PInterfaces     = {PInterfaces}
  35. NetWork_CIncludes         = {CIncludes}
  36. #
  37. # End of NetWork Setup
  38.     
  39.  
  40. all ƒ NetSim    
  41.  
  42. ##############################
  43. # options and default settings
  44. ##############################
  45. tplofiles   =    "{objectsfolder}"     # a folder for .o files. must exist.
  46. pre            =    :                    # a folder containing invariant (recycled) code
  47. preofiles    =    {tplofiles}            # a folder for .o files of invariant code
  48.  
  49. #these are the recommended places for an intalled version
  50. #pre        =    {MPW}Pinterfaces:        
  51. #preofiles    =    {MPW}PLibraries:    
  52.  
  53. sym        = -sym full 
  54. #sym            = -sym off # 
  55. #Poptions= -clean
  56.  
  57.  
  58. # rules for files which are not changed / invariant / recycled
  59.  
  60. {preofiles}stdtools.p.o ƒ {pre}stdtools.p
  61.     Pascal {sym} -i {pre}   -o {preofiles} {Poptions} {pre}stdtools.p
  62.     
  63. {preofiles}Generic.p.o ƒ ∂
  64.                                 {pre}Generic.p ∂
  65.                                 {pre}stdtools.p
  66.     Pascal {sym} -i {pre}   -o {preofiles} {Poptions} {pre}Generic.p 
  67.  
  68.  
  69. # rules for files which might be implementation dependent
  70.  
  71. {tplofiles}Histogramunit.p.o ƒ  ∂
  72.                                 Histogramunit.p ∂
  73.                                 HistogramUnit.inc
  74.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} Histogramunit.p
  75.     
  76. {tplofiles}Histogramio.p.o ƒ   ∂
  77.                                 Histogramio.p ∂
  78.                                 HistogramIO.inc
  79.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} Histogramio.p
  80.  
  81. {tplofiles}NetSimGlobal.p.o ƒ    NetSimGlobal.p
  82.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} NetSimGlobal.p
  83.  
  84. {tplofiles}Task.p.o ƒ   ∂
  85.                                 NetSimGlobal.p ∂
  86.                                 Task.p ∂
  87.                                 taskCore.impl.p ∂
  88.                                 task.handlers.impl.p ∂
  89.                                 task.master.impl.p ∂
  90.                                 task.reply.impl.p ∂
  91.                                 task.slave.impl.p ∂
  92.                                 task.impl.p    ∂
  93.                                 histogramunit.p ∂
  94.                                 histogramio.p ∂
  95.                                 {pre}stdtools.p ∂
  96.                                 "{NetWork_PInterfaces}"SchedulerUnit.p ∂
  97.                                 UToy.p
  98.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} Task.p
  99.     
  100. {tplofiles}TaskCtl.p.o ƒ         NetSimGlobal.p ∂
  101.                                 TaskCtl.p ∂
  102.                                 {pre}stdtools.p ∂
  103.                                 {pre}Generic.p Task.p  ∂
  104.                                 "{NetWork_pinterfaces}"NetWork.p
  105.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} TaskCtl.p
  106.     
  107. {tplofiles}UToy.p.o ƒ ∂
  108.                                 NetSimGlobal.p ∂
  109.                                 UToy.p ∂
  110.                                 {pre}stdtools.p ∂
  111.                                 {pre}Generic.p 
  112.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} UToy.p 
  113.     
  114. {tplofiles}NetSim.p.o ƒ ∂
  115.                                 NetSimGlobal.p ∂
  116.                                 NetSim.p ∂
  117.                                 {pre}stdtools.p ∂
  118.                                 {pre}generic.p ∂
  119.                                 Task.p ∂
  120.                                 TaskCtl.p
  121.     Pascal {sym} -i {pre}   -o {tplofiles} {Poptions} NetSim.p
  122.     
  123. LibObjects =    ∂
  124.         {preofiles}stdtools.p.o ∂
  125.         {preofiles}generic.p.o ∂
  126.         "{NetWork_Libraries}"SchedulerUnit.p.o ∂
  127.         "{Libraries}"Interface.o ∂
  128.         "{Libraries}"Runtime.o ∂
  129.         "{PLibraries}"PasLib.o ∂
  130.         "{PLibraries}"SANELIB.o ∂
  131.         "{Libraries}"ObjLib.o ∂
  132.         "{NetWork_Libraries}"NetWorkLib.o ∂
  133.         "{Libraries}"ToolLibs.o
  134.         
  135. {tplofiles}NetSimLibs.o ƒ {LibObjects} 
  136.     Lib -o {tplofiles}NetSimLibs.o ∂
  137.         {LibObjects}
  138.         
  139. OBJECTS =         ∂
  140.         {tplofiles}NetSimLibs.o ∂
  141.         {tplofiles}NetSimGlobal.p.o ∂
  142.         {tplofiles}HistogramUnit.p.o ∂
  143.         {tplofiles}HistogramIO.p.o ∂
  144.         {tplofiles}UToy.p.o ∂
  145.         {tplofiles}Task.p.o ∂
  146.         {tplofiles}TaskCtl.p.o ∂
  147.         {tplofiles}NetSim.p.o 
  148.         
  149.         
  150.  
  151. NetSim ƒƒ  stdtools.rsrc {Objects} "Netsim Balloons.r"
  152.     duplicate -y stdtools.rsrc NetSim
  153.     Rez -a -o NetSim "Netsim Balloons.r"
  154.     ########################################################################
  155.     Link {sym} -w -t APPL -c 'NetE' {Objects} -o NetSim
  156.     ########################################################################
  157.     # note: NetE is a reserved signature for experimental work with NetWork.  
  158.     # If you are developing your own software, you have to register your 
  159.     # signature with Apple. If you continue to use NetE, your software will
  160.     # interfere with any other software using this signature on the same net. 
  161.  
  162.  
  163. clean ƒ
  164.  stripunits ≈